﻿namespace WoodAdmin.Models
{
    public class APPKeys
    {
        /// <summary>
        /// 登陆验证码
        /// </summary>
        public const string Vercode = "Vercode";
        /// <summary>
        /// 当前用户
        /// </summary>
        public const string CurrentUser = "CurrentUser";

        /// <summary>
        /// 错误消息
        /// </summary>
        public const string ErrMsg = "ErrMsg";

        /// <summary>
        /// 用户默认密码
        /// </summary>
        public const string DefaultPassword = "000000";

        /// <summary>
        /// 保存成功
        /// </summary>
        public const string Success = "保存成功！";

        /// <summary>
        /// 保存失败
        /// </summary>
        public const string Failed = "保存失败！";

        /// <summary>
        /// 当前用户的所有权限
        /// </summary>
        public const string CurrentUserAuthNode = "CurrentUserAuthNode";

        /// <summary>
        /// 当前用户的所有角色
        /// </summary>
        public const string CurrentUserRoles = "CurrentUserRoles";

        /// <summary>
        /// 当前用户的所有角色
        /// </summary>
        public const string NoData = "暂无数据";

        /// <summary>
        /// 用来加密的盐值
        /// </summary>
        public const string Salt = "woodadmin20210414";

        /// <summary>
        /// RSA私钥 2048位 PKCS#8格式
        /// </summary>
        public static string PrivateKey = @"
                                            MIICXAIBAAKBgQCEN0fhvEUjq8xoh4E7utJc/Drm2ZUoQNM/BGYBgkWBnlSOYdvs
                                            /5C5nUcwqQiC5tEFnqDoEYvUqPL5kZf6sL21SOlQKIFuPCcq14XgWatg5fSy3Gq2
                                            YZ2IUN+ARxPrdPVcAZTRdJCoOhSTED8lqLOOabZd0orai33wbM+NW0BVWQIDAQAB
                                            AoGAAQenNTBwv27iqDvJ+2ugoN3MHak7OrWKj7aajs9zeCeCFBvaCTYSbAe4Gr5u
                                            VQq0PR13tmcQlkb8oYoLS4Yd7C0qKKKR95toQuukg3y/6AAk77F9NyM91rpYhqqm
                                            Y1hjf3zWFcynxpyeRtthTN3JwgAD/agCrv07pZzahymFt4sCQQCXk2dvuecwi6Kh
                                            x30LALJbC7DlQiaoLFi9rVelhG6doDUh9lyeurvOOUdTEboZepujtHpmYTRh786Y
                                            cOTVMpybAkEA3018CfdUNYvSebnPPeu/UQWsQGsxeENRFLLHgjD2jzMdLY+YUako
                                            ppWapEae6m11ROI1qaxILb/a3xSvBHwDGwJAVyNal5RcIEBmInM4o5am8khqTaIV
                                            7yBvc7uvY2wa22s6oGetH2NijE/JfSv3vKYLy7T5mNnQ72yZbHGaXCZYeQJARG9l
                                            xVQkXai1X5LffbWjU3xuluuDJL1UuwgzdqX02lwq5Ayu/M/f4nXVB+WQzH2xQ+Qj
                                            2BUxpbu3o0iefrxW4wJBAI7QFkbPT0gkjja2Qy2IMHt+S/rrl84TqAbnsoyEBiDC
                                            mKiu0g8RlEUI2PYm1Rpn6GPp0KbUAupEZul9CJQVFmU=";

        /// <summary>
        /// RSA公钥 2048位 PKCS#8格式
        /// </summary>
        public static string PublicKey = @"
                                            MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCEN0fhvEUjq8xoh4E7utJc/Drm
                                            2ZUoQNM/BGYBgkWBnlSOYdvs/5C5nUcwqQiC5tEFnqDoEYvUqPL5kZf6sL21SOlQ
                                            KIFuPCcq14XgWatg5fSy3Gq2YZ2IUN+ARxPrdPVcAZTRdJCoOhSTED8lqLOOabZd
                                            0orai33wbM+NW0BVWQIDAQAB";


    }
}